﻿@using SH = EMoney.IStock.Client.Framework.StringHelper;
@using EMoney.IStock.Client.Models.QQ;
@using EMoney.IStock.Client.Framework;
@{
    //当日聚焦
    ViewBag.Title = "rank_gsjj";
    List<TB_FocusStock> gsjj_day_lst = (List<TB_FocusStock>)ViewBag.gsjj_day_lst;
    string stocksCode = string.Empty;
}

@{
    if (gsjj_day_lst != null && gsjj_day_lst.Count > 0)
    {        
        string stockcode = string.Empty;
        foreach (TB_FocusStock model in gsjj_day_lst)
        {
            stockcode = SH.FormatQQStockCode(model.SecuCode);
            stocksCode += stockcode + ",";
            
    <div class="data_new_list" code="@stockcode" onclick="GroupToKLine('当日聚焦','@(stockcode)','@(stockcode)')">
        <div class="p1">
            <p class="yellow">@(model.SecuName)</p>
            <p>@(stockcode)</p>
        </div>
        <div class="p2 xianjia"><span class="red">8.69</span></div>
        <div class="p2 zhangfu"><span class="red">8.69%</span></div>
        <div class="data_new_prompt">
            <span class="data_new_prompt_font">有@(model.Number)名高手买入平均成本@(model.AvgPrice)</span>
            <span class="data_new_prompt_right">
                <img src="@SH.GetStaticFile("IStockClientStatic/qq/images/data_new_prompt_bg.png")" /></span>
        </div>
        <div class="clear"></div>
    </div>
        }
    }
    else
    {
        <div style="text-align:center;">--无记录--</div>
    }
}
<input type="hidden" id="hidStocks_gsjj_day" value="@stocksCode" />

